package cn.jantd.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 团队角色表
 * </p>
 *
 * @Author xiagf
 * @since 2018-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysTeamUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 团队id
     */
    private String teamId;

    /**
     * 团队角色id
     */
    private String userId;

/*    *//*用户id*//*
    private String userId;*/


	public SysTeamUser() {
	}

	public SysTeamUser(String teamId, String userId) {
/*		this.userId = userId;*/
		this.teamId = teamId;
		this.userId=userId;
	}



}
